package com.rendevous.bean;

import java.util.List;
import java.util.Date;

/**
 * @author <name>
 * @version 0.1
 * @since 18-09-2012
 * 
 * 
 */
public class Task {
	private long id;
	private boolean isDone;
	private String content;
	private List<String> tagList;
	private String priority;
	private Date startTime;
	private Date endTime;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public boolean isDone() {
		return isDone;
	}

	public void setDone(boolean isDone) {
		this.isDone = isDone;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	private Date getEndTime() {
		return endTime;
	}

	private void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPriority() {
		return priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public List<String> getTagList() {
		return this.tagList;
	}

	public void setTagList(List<String> tagsList) {
		this.tagList = tagList;
	}

	@Override
	public String toString() {
		return id + ": " + content;
	}
}
